<div id="create-user" class="content scaffold-create" role="main">
	<div class="header_02"><g:message code="auth.login.signin" /></div>
	<g:if test="${flash.message}">
	<div class="message" role="status">${flash.message}</div>
	</g:if>
	<g:hasErrors bean="${userInstance}">
	<ul class="errors" role="alert">
		<g:eachError bean="${userInstance}" var="error">
		<li <g:if test="${error in org.springframework.validation.FieldError}">data-field-id="${error.field}"</g:if>><g:message error="${error}"/></li>
		</g:eachError>
	</ul>
	</g:hasErrors>
	<g:formRemote name="myForm" onSuccess="javascript:scroll(0,0); window.location.reload();" update="['failure': 'create-user']"
              url="[controller: 'user', action: 'simpleSignin']">
    	<fieldset class="form">
			<g:render template="/user/form"/>
		</fieldset>
		<fieldset class="buttons">
    		<g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" />
		    <input type="reset" value="Reset Form">  
		</fieldset>
	</g:formRemote>
</div>